package com.mes.prepare.domain;

import java.util.Date;

import com.mes.basicdata.domain.Dept;
import com.mes.common.domain.BasicModel;
import com.mes.task.domain.OperationTask;

/*import com.mes.basicdata.persistence.domain.Dept;
import com.mes.common.model.BasicModel;
import com.mes.task.persistence.domain.OperationTask;
*/
/**
 * IODemandHeader entity.
 * 
 * @author niukay created on July 12th, 2013
 */
@SuppressWarnings("serial")
public class IODemandHeader extends BasicModel
{
	public static String ORDER_STATE_DRAFT = "1";
	public static String ORDER_STATE_DEPLOYED = "4";
	public static String ORDER_STATE_STARTED = "5";
	public static String ORDER_STATE_FINISHED = "6";
	
	protected String invDemandId;
	protected String invDemandType;
	protected String invDemandState;
	protected String taskUid;
	protected OperationTask operationTask;
	protected String operationIdDesc;
	protected String taskName;
	protected String drawingId;
	protected String batchNum;
	protected String prepareTaskUid;
	protected String routing;
	protected String opuid;
	protected String creatorUid;
	protected Date createTime;
	protected String deployer;
	protected Date deployTime;
	protected String masterShopUid;
	protected Dept masterShop;
	protected String deptId;
	protected String employeeId;
	protected Date finishTime;

	public String getUuid()
	{
		return invDemandId;
	}

	public void setUuid(String uuid)
	{
		this.invDemandId = uuid;
	}

	public String getInvDemandId()
	{
		return invDemandId;
	}

	public void setInvDemandId(String invDemandId)
	{
		this.invDemandId = invDemandId;
	}

	public String getInvDemandType()
	{
		return invDemandType;
	}

	public void setInvDemandType(String invDemandType)
	{
		this.invDemandType = invDemandType;
	}

	public String getInvDemandState()
	{
		return invDemandState;
	}

	public void setInvDemandState(String invDemandState)
	{
		this.invDemandState = invDemandState;
	}

	public String getTaskUid()
	{
		return taskUid;
	}

	public void setTaskUid(String taskUid)
	{
		this.taskUid = taskUid;
	}

	public OperationTask getOperationTask()
	{
		return operationTask;
	}

	public void setOperationTask(OperationTask operationTask)
	{
		this.operationTask = operationTask;
	}

	public String getOperationIdDesc()
	{
		return operationIdDesc;
	}

	public void setOperationIdDesc(String operationIdDesc)
	{
		this.operationIdDesc = operationIdDesc;
	}

	public String getTaskName()
	{
		return taskName;
	}

	public void setTaskName(String taskName)
	{
		this.taskName = taskName;
	}

	public String getDrawingId()
	{
		return drawingId;
	}

	public void setDrawingId(String drawingId)
	{
		this.drawingId = drawingId;
	}

	public String getBatchNum()
	{
		return batchNum;
	}

	public void setBatchNum(String batchNum)
	{
		this.batchNum = batchNum;
	}

	public String getPrepareTaskUid()
	{
		return prepareTaskUid;
	}

	public void setPrepareTaskUid(String prepareTaskUid)
	{
		this.prepareTaskUid = prepareTaskUid;
	}

	public String getRouting()
	{
		return routing;
	}

	public void setRouting(String routing)
	{
		this.routing = routing;
	}

	public String getOpuid()
	{
		return opuid;
	}

	public void setOpuid(String opuid)
	{
		this.opuid = opuid;
	}

	public String getCreatorUid()
	{
		return creatorUid;
	}

	public void setCreatorUid(String creatorUid)
	{
		this.creatorUid = creatorUid;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public String getDeployer()
	{
		return deployer;
	}

	public void setDeployer(String deployer)
	{
		this.deployer = deployer;
	}

	public Date getDeployTime()
	{
		return deployTime;
	}

	public void setDeployTime(Date deployTime)
	{
		this.deployTime = deployTime;
	}

	public String getMasterShopUid()
	{
		return masterShopUid;
	}

	public void setMasterShopUid(String masterShopUid)
	{
		this.masterShopUid = masterShopUid;
	}

	public Dept getMasterShop()
	{
		return masterShop;
	}

	public void setMasterShop(Dept masterShop)
	{
		this.masterShop = masterShop;
	}

	public String getDeptId()
	{
		return deptId;
	}

	public void setDeptId(String deptId)
	{
		this.deptId = deptId;
	}

	public String getEmployeeId()
	{
		return employeeId;
	}

	public void setEmployeeId(String employeeId)
	{
		this.employeeId = employeeId;
	}

	public Date getFinishTime()
	{
		return finishTime;
	}

	public void setFinishTime(Date finishTime)
	{
		this.finishTime = finishTime;
	}
}
